﻿@using MvcContrib.UI.Grid;
@using MvcContrib.Pagination;
@using MvcContrib.Shp.UI.Themed.Pager;
@using Shp.Web.Models.Domain;
@using Shp.Web.Models.GridModels;
@using MvcContrib.Shp.UI.Themed;
@using MvcContrib.Shp.UI;

@model IPagination<Customer>

<div class="mc-grid ui-widget ui-widget-content ui-corner-all">
    <div class="mc-grid-header ui-widget-header ui-corner-top">MVCContrib Grid Themed with jQuery</div>    
    @Html.MvcContrib().Grid(Model).WithModel(new CustomerGridModel()).Sort(ViewData["sort"] as GridSortOptions).Attributes(id => "grid", style => "width: 100%;")
    @Html.MvcContrib().PagerThemed(Model)
</div>

